export const setToken = (token) => {
    //把token保存在本地
    localStorage.setItem('TOKEN', token)
}

//清楚本地存储的token
export const removeToken = () => {
    localStorage.removeItem("TOKEN")
}